package com.qdlc.p2p.common.constant;

public enum TradeStatus {

    /** 等待付款 */
    TRADE_STATUS_WAIT_PAY("WAIT_PAY", "等待付款"),

    /** 已付款 */
    TRADE_STATUS_PAY_FINISHED("PAY_FINISHED", "已付款"),

    /** 交易失败 */
    TRADE_STATUS_FAILED("TRADE_FAILED", "交易失败"),

    /** 交易结束 */
    TRADE_STATUS_FINISHED("TRADE_FINISHED", "交易结束"),

    /** 交易关闭 */
    TRADE_STATUS_CLOSED("TRADE_CLOSED", "交易关闭"),

    /** 无效 */
    TRADE_STATUS_INVALID("TRADE_INVALID", "交易无效"),

    /** 未知交易 */
    TRADE_STATUS_UN_KNOW("TRADE_UN_KNOW", "未知交易");

    String status;

    String statusName;

    private TradeStatus(String status, String statusName) {
        this.status = status;
        this.statusName = statusName;
    }

    public String getStatus() {
        return status;
    }

    public String getStatusName() {
        return statusName;
    }
}
